package com.hzy.service;

import com.hzy.pojo.Contact;
import com.hzy.pojo.ContactExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Package: com.hzy.service
 * @ClassName: ContactService
 * @Author: 862982795
 * @CreateTime: 2021/09/03 15:15
 * @Description:
 */
public interface ContactService {
    long countByExample(ContactExample example);

    int deleteByExample(ContactExample example);

    int insert(Contact record);

    int insertSelective(Contact record);

    List<Contact> selectByExample(ContactExample example);

    Contact selectContactById(@Param("id") Integer id);

    int updateByExampleSelective(@Param("record") Contact record, @Param("example") ContactExample example);

    int updateByExample(@Param("record") Contact record, @Param("example") ContactExample example);
}
